package me.ZFC.Text;

public class Test4 {
    public static void main(String[] args) {
        String s = reverser("abc");
        System.out.println(s);
    }

    public static String reverser(String str) {
        String s = "";
        for (int i = str.length() - 1; i >= 0; i--) {
            s = s + str.charAt(i);
        }
        return s;
    }
}
